<template>
  <div class="error-page">
    <div class="error-code">4<span>0</span>4</div>
    <div class="error-desc">啊哦~ 你所访问的页面不存在</div>
    <div class="error-handle">
      <router-link to="/system">
        <el-button type="primary" size="large">返回首页</el-button>
      </router-link>
      <el-button class="error-btn" type="primary" size="large" @click="$router.go(-1)">返回上一页</el-button>
    </div>
    <el-cascader
      :options="options"
      v-model="selectedOptions"
      @change="handleChange">
    </el-cascader>
  </div>
</template>

<script>
  export default {
    data(){
      return{
        options:[{
          value: 'zhinan',
          label: '指南',
          children:[{
            value: 'zhinan1',
            label: '指南1',
            children:[{
              value: 'zhinan2',
              label: '指南2',
              children:[{
                value: 'zhinan3',
                label: '指南3',
                children:[{
                  value: 'zhinan4',
                  label: '指南4',
                  children:[{
                    value: 'zhinan5',
                    label: '指南5',
                  }]
                }]
              }]
            }]
          }]
        }]
      }
    },
    methods: {
    }
  }
</script>


<style scoped>
  .error-page{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 1100px;
    height: 100%;
    margin: 100px auto;
    box-sizing: border-box;
  }
  .error-code{
    line-height: 1;
    font-size: 250px;
    font-weight: bolder;
    color: #2d8cf0;
  }
  .error-code span{
    color: #00a854;
  }
  .error-desc{
    font-size: 30px;
    color: #777;
  }
  .error-handle{
    margin-top: 30px;
    padding-bottom: 200px;
  }
  .error-btn{
    margin-left: 100px;
  }
</style>
